package model;

import java.util.Observable;

import model.document.Document;
import model.tampon.MemoireTampon;

public class Editeur extends Observable {

	private Document document;
	private MemoireTampon tampon;
	
	public Editeur() {
		document = new Document();
		tampon = new MemoireTampon(this);
	}

	public Document getDocument() {
		return document;
	}
	
	public MemoireTampon getTampon() {
		return tampon;
	}
	
	public void setChanged() {
		super.setChanged();
		this.notifyObservers();
	}
	
}
